package com.xiaoshuidi.cloud.framework.systemevent.core.data;

import com.xiaoshuidi.cloud.framework.systemevent.core.LeaseSystemEventData;
import com.xiaoshuidi.cloud.framework.systemevent.core.LeaseSystemEventTypeEnum;
import lombok.Data;
import lombok.ToString;

@Data
@ToString(callSuper = true)
public class LeaseSystemEventBookingCancel implements LeaseSystemEventData {
    /**
     * 业务标识 预定ID
     */
    private String bookingId;

    /**
     * 租户id
     */
    private Long tenantId;

    /**
     * 预定的租客id
     */
    private Long userId;

    /**
     * 预定的门店id
     */
    private Long apartmentId;

    @Override
    public LeaseSystemEventTypeEnum getType() {
        return LeaseSystemEventTypeEnum.BOOKING_CANCEL;
    }

}
